package com.mock.dao.impl;

import java.util.List;

import com.mock.dao.CountyDao;
import com.mock.model.County;

public class CountyDaoImpl extends GenericDaoImpl<County, Long> implements CountyDao{

	@Override
	public List<County> getAllCounty() {
		
		return super.getAll(County.class);
	}

	@Override
	public County getById(long id) {
		
		return super.getById(County.class, id);
	}

	@Override
	public County getByName(String nameColume, String valueSearch) {
		return super.getByColumn(County.class, nameColume, valueSearch);
	}

}
